// conponents/explain/loginButton/index.js
import { Throttle } from '../../../utils/util.js';
const app = getApp();
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    dataReady: {
      type: Boolean,
      value: true
    },
  },

  /**
   * 组件的初始数据
   */
  data: {
    
  },
  /**
   * 组件的方法列表
   */
  methods: {
    goRentCar: new Throttle().throttle(function () {
      let that = this;
      wx.redirectTo({
        url: '/pages/rentCar/rentCar'
      })
    }, 1000),
  },
})
